/**
 * Created by Administrator on 2015/6/19.
 */
var TABLE = {
    ENV:"env",
    HOST:"host"
}




exports.TABLE = TABLE;

exports.ERROR_RESULT = {status: "error"};

exports.OK_RESULT = {status: "ok"};

exports.INSERT_CALLBACK_BASE = function(res){

    return function (err) {
        var result = null;
        if (err) {
            result = {status: "error"};
        } else {
            result = {status: "ok"};
        }
        res.send(result);
    }
}